<?xml version="1.0" encoding="UTF-8" ?>
<%@page import="java.util.HashMap"%>
<%@page import="java.util.Map"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	List<String> list=new ArrayList<String>();
	list.add("litem1");
	String[] arr=new String[]{"String1"};
	Map<String,String> map=new HashMap<String,String>();
	map.put("key1", "mitem1");
	pageContext.setAttribute("list", list);
	pageContext.setAttribute("map", map);
	pageContext.setAttribute("arr", arr);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/"%>"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Insert title here</title>

</head>
<body>
${map["key1"]}<br/>
${map.key1}<br/>
${list[0]}<br/>
${arr[0]}<br/>

</body>
</html>
